package main

import "fmt"

// 切分数组的语法也可以用于切分字符串
func main() {
	neptune := "Neptune"
	tune := neptune[3:]

	fmt.Println(tune)
	neptune = "Poseidon"
	fmt.Println(tune)

	// neptune[0] = 'H' // cannot assign to neptune[0]
	question := "¿Cómo estás?"
	fmt.Println(question[:2]) //¿

}
